import sys, pygame, random
from pygame.locals import *


pygame.init()


biank = width, height = 600, 600
screen = pygame.display.set_mode(biank)
clock = pygame.time.Clock()
black, red, blue, white = (0, 0, 0), (255, 0, 0), (0, 0, 255), (255, 255, 255)



def draw_game():
    pygame.draw.rect(screen, white, (0, 0, width, height))

    pygame.draw.line(screen, black, (200, 0), (200, 600), 5)
    pygame.draw.line(screen, black, (400, 0), (400, 600), 5)
    pygame.draw.line(screen, black, (0, 200), (600, 200), 5)
    pygame.draw.line(screen, black, (0, 400), (600, 400), 5)


while True:
        event = pygame.event.wait()
        if event.type == pygame.QUIT:
            pygame.quit()
            exit()
        elif event.type == MOUSEBUTTONDOWN:         
                    print event.pos[0], event.pos[1]   

        clock.tick(60)
        draw_game()
        pygame.display.flip()
